@charset "utf-8";
@import './modules/header';
@import './modules/footer';
body{
    background-color: #f5f5f5!important;
}
/* search */
.search{
    background: #fff;
}
.search-con{
    width: 1230px;
    height: 164px;
    margin: 0 auto;
    position: relative;
    &>a{
        width: 250px;
        height: 164px;
        display: block;
        position: absolute;
        &>img{
            width: 100%;
            height: 100%;
        }
    }
    .searchDiv{
        background-color: #ff0036;
        width: 608px;
        margin: auto;
        padding: 2px;
        height: 46px;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        input{
            width: 435px;
            border: 0px solid transparent;
            height: 42px;
            outline:none;
            display: block;
            padding-left: 10px;
            font-size: 16px;
            float: left;
        }
        button{
            width: 166px;
            height: 42px;
            border: 0px solid transparent;
            background-color: #ff0036;
            color: white;
            line-height: 42px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            float: right;
        }
    }
}
// topSearch
.topSearch{
    width: 100%;
    position: fixed;
    top: -52px;
    background-color: rgb(255,0,54);
    opacity: 0.9;
    z-index: 9999999999999;
    box-shadow: 0 0 4px #eaeaea;
    transition: all 0.3s ease-out;
    .topSearch-con{
        width: 1230px;
        height: 50px;
        margin: 0px auto;
        .logo{
            float: left;
        }
        .search{
            float: left;
            width: 750px;
            height: 30px;
            margin: 12px 0 0 120px;
            border-radius: 3px;
            input{
                width: 650px;
                height: 30px;
                border: none;
                float: left;
                padding-left: 10px;
                background-color: #fff;
                opacity: 1;
            }
            button{
                width: 100px;
                height: 30px;
                border: none;
                background-color: #ff0036;
                float: left;
                font-size: 18px;
                line-height: 30px;
                text-align: center;
                color: #fff;
                font-weight: bold;
            }
        }
    }
}
/* nav */
nav{
    border-bottom: 2px solid #ff0036;
    background-color: #fff;
}
.nav-con{
    width: 1230px;
    height: 43px;
    margin: 0 auto;
    h2{
        width: 250px;
        height: 45px;
        background-color: #ff0036;
        color: #fff;
        margin: 0;
        float: left;
        span{
            font-size: 20px;
            line-height: 48px;
            display: block;
            float: left;
            width: 52px;
            height: 45px;
            text-align: center;
        }
        i{
            font-size: 20px;
            line-height: 45px;
            font-weight: bold;
            float: left;
        }
    }
    .navRight{
        width: 980px;
        height: 45px;
        float: right;
        a:nth-child(1){
            width: 300px;
            height: 42px;
            margin: 0;
            img{
                width: 100%;
                height: 100%;
            }
        }
        a{
            font-size: 20px;
            line-height: 42px;
            margin-right: 20px;
            display: block;
            float: left;
            color: #333;
            text-decoration: none;
            &:hover{
                color: #FF0036;
            }
        }
    }
}
/* banner */
.banner{
    background: #F591AA;
}
.banner-con{
    width: 1230px;
    height: 625px;
    margin: 0 auto;
    position: relative;
    .classify{
        width: 250px;
        height: 625px;
        position: absolute;
        background-color: rgba(0,0,0,0.5);
        z-index: 2;
        display: block;
        &>li{
            width: 250px;
            height: 39px;
            padding-left: 17px;
            &>i{
                font-size: 18px;
                color: #fff;
                line-height: 39px;
                width: 33px;
                display: block;
                float: left;
            }
            &>a{
                font-size: 18px;
                color: #fff;
                line-height: 39px;
                cursor: pointer;
                &:hover{
                    text-decoration: none;
                    color: aqua;
                }
            }
            &>ul{
                width: 804px;
                height: 625px;
                background-color: #fff;
                position: absolute;
                top: 0;
                left: 250px;
                display: none;
                &>li{
                    width: 804px;
                    padding: 0 0 0 38px;
                    min-height: 54px;
                    h2{
                        display: block;
                        font-size: 20px;   
                        color: #333;
                        width: 112px;
                        font-weight: bold;
                        margin: 0;
                        float: left;
                        padding-top: 18px;
                        line-height: 20px;
                    }
                    h3{
                        width: 620px;
                        display: block;
                        float: left;
                        margin: 0;
                        padding: 13px 0 13px 16px;
                        border-bottom: 1px solid #e5e5e5;
                        a{
                            font-size: 18px;
                            color: #333;
                            line-height: 26px;
                            padding-right: 16px;
                            white-space: nowrap;
                            &:hover{
                                color: darkorchid;
                                text-decoration: none;
                            }
                        }
                        .colorPink{
                            color: #e54077;
                        }
                        .colorBlue{
                            color: #427def;
                        }
                    }
                }
            }
            &:hover{
                background-color: #fff;
            }
            &:hover i{
                color: red;
            }
            &:hover>a{
                color: red;
            }
            &:hover ul{
                display: block;
            }
        }
    }
    .banner-lunbo li{
        width: 31px!important;
        border-radius: 0%!important;
        margin: 0 5px!important;
        z-index: 2!important;
    }
}
div.item img{
    width: 1230px!important;
    height: 625px!important;
}
div#carousel-example-generic{
    margin:0 auto;
}
/* market */
.market{
    background-color: #f5f5f5;
    .market-con{
        width: 1230px;
        min-height: 888px;
        padding-top: 40px;
        margin: 0 auto;
        .goodsTitle{
            width: 1230px;
            height: 30px;
            margin-bottom: 30px;
            img{
                margin: 0 auto;
            }
        }
        ul{
            display: flex;
            flex-wrap: wrap;
            li{
                a{
                    display: block;
                    width: 290px;
                    height: 378px;
                    background-color: #fff;
                    border: 2px solid #f5f5f5;
                    padding-top: 30px;
                    margin: 8px;
                    text-decoration: none;
                    transition: all 0.4s;
                    &:hover{
                        border: 2px solid #ff4400;
                        transform: translateY(-40px);
                    }
                    .imgBox{
                        width: 185px;
                        height: 185px;
                        margin: 0 auto;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    p{
                        width: 165px;
                        margin: 15px auto;
                        text-align: center;
                        font-size: 18px;
                        line-height: 25px;
                        color: #000;
                    }
                    span{
                        display: block;
                        text-align: center;
                        color: #ff4400;
                        font-size: 26px;
                        line-height: 30px;
                        margin-bottom: 10px;
                        em{
                            font-size: 36px;
                            font-weight: bold;
                        }
                    }
                    b{
                        display: block;
                        text-align: center;
                        font-size: 16px;
                        line-height: 16px;
                        color: #333;
                    }
                }
            }
        }
    }
}
// endImg
.endImg{
    background-color: #f5f5f5;
    .endImg-con{
        width: 124px;
        height: 70px;
        margin: 10px auto;
        img{
            width: 80%;
            height: 80%;
        }
    }
}
// goTop
.goTop{
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,.3);
    position: fixed;
    left: 100px;
    bottom: 100px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    z-index: 99;
    display: none;
    &:active{
        text-decoration: none;
        color: #fff;
    }
    &:hover{
        color: #fff;
        text-decoration: none;
    }
}